{#
# Copyright 2017 The Forseti Security Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#}<!doctype html>
<html>
<head>
<style>
* {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 16px;
}

a, a:visited {
  color: #1082d9;
}

.resource-violations tr > td {
  border: 1px solid #ddd;
  border: 1px solid #ddd;
  border-top: 0;
  border-bottom: 0;
  font-size: 14px;
  padding: 4px;
}

th {
  font-size: 16px;
  font-weight: bold;
  padding: 4px;
  text-align: left;
}

td {
  padding: 4px;
}

</style>
</head>
<body style="background-color: #eee;">
<div style="background-color: #fff; margin-top: 40px; padding: 20px; margin-left: 20%; margin-right: 20%;">
  <div style="margin: 10px 10px 15px 10px; font-size: 14px;">
    Forseti Security found some issues of the type "<em>{{ resource }}</em>" during the scan on {{ scan_date }}.
  </div>
  <div style="margin: 10px 10px;">
    <div style="font-weight: bold; font-size: 16px; margin-bottom: 5px;">
      Total Resource Violations: {{ violation_errors|length }}
    </div>
    <div style="font-style: italic; font-size: 14px; margin-bottom: 5px;">
      See attached CSV file for details.
    </div>
  </div>

  <br/>

</div>

</body>
</html>
